package com.lemeng.service;

import com.lemeng.entity.PageResult;
import com.lemeng.pojo.Brand;

import java.util.List;
import java.util.Map;

public interface BrandService {

    public List<Brand> findAll();

    public PageResult<Brand> findPage(Integer page,Integer size);

    public List<Brand> findList(Map<String,Object> serchMap);

    public PageResult<Brand> findPage(Integer page,Integer size,Map<String,Object> serchMap);

    public Brand findById(Integer id);

    void add(Brand brand);

    void update(Brand brand);

    void delete(Integer id);
}
